<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <new th:fragment="consult_type">
        <div class="main-tab">
            <div class="max-width">
                <ul class="main-tab-ul">

                    <li th:class="(${classId}==0?'main-tab-active':'')">
                        <a href="/zx/0" target="_self">今日推荐</a>
                    </li>

                    <!--(classId==classify.getClassifyId())?'main-tab-active':''-->
                    <li th:class="(${classId}==${classify.getClassifyId()}?'main-tab-active':'')" th:each="classify,userStat:${zxClassifyTList}" th:if="${userStat.index<9}">
                        <a th:href="${'/zx/'+classify.getClassifyId()}" target="_self" th:text="${classify.getClassifyName()}"></a>
                    </li>

                    <li class="tab-more-list">
                        <a href="javascript:;" target="_self">
                            <span>更多</span>
                            <img class="arrow-bottom" src="/icon/arrow-bttom.png" alt="有贝口腔网">
                        </a>
                        <div>
                            <ul>
                                <li th:class="(${classId}==${classify.getClassifyId()}?'main-tab-active':'')" th:each="classify,userStat:${zxClassifyTList}" th:if="${userStat.index>9}">
                                <a th:href="${'/zx/'+classify.getClassifyId()}" target="_self" th:text="${classify.getClassifyName()}"></a>
                            </li>
                            </ul>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </new>
</body>
</html>